<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta name="author" content="Darko Bunic"/>
		<meta name="description" content="Drag and drop table content/rows with JavaScript"/>
		<meta name="viewport" content="width=device-width, user-scalable=no"/><!-- "position: fixed" fix for Android 2.2+ -->
		<link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
		<script type="text/javascript">
			var redips_url = '/javascript/drag-and-drop-table-content-animation/';
		</script>
		<script type="text/javascript" src="../header.js"></script>
		<script type="text/javascript" src="../redips-drag-min.js"></script>
		<script type="text/javascript" src="script1.js"></script>
		<title>Example 18: Simple element animation (row)</title>
	</head>
	<body>
		<center>
			<!-- buttons -->
			<div id="buttons">
				<input type="button" value="Move" class="button" id="btn_move" onclick="javascript:move()"/>
			</div>
			<!-- drag region -->
			<div id="drag">
				<table id="table1">
					<colgroup>
						<col width="70"/>
						<col width="70"/>
						<col width="70"/>
						<col width="70"/>
						<col width="70"/>
						<col width="70"/>
						<col width="70"/>
					</colgroup>
					<tbody>
						<tr class="rl">
							<td><div class="drag orange">Drag</div></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr class="rd">
							<td></td>
							<td><div class="drag orange">and</div></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr class="rl">
							<td></td>
							<td></td>
							<td><div class="drag orange">drop</div></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr class="rd">
							<td></td>
							<td></td>
							<td></td>
							<td><div class="drag orange">table</div></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr class="rl">
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><div class="drag orange">content</div></td>
							<td></td>
							<td></td>
						</tr>
						<tr class="rd">
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><div class="drag orange">with</div></td>
							<td></td>
						</tr>
						<tr class="rl">
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td><div class="drag orange">JavaScript</div></td>
						</tr>
					</tbody>
				</table>
			</div>
		</center>
	</body>
</html>